//
//  MultilineTextInputCell.h
//  SmartLock
//
//  Created by qq on 2019/4/3.
//  Copyright © 2019年 yhy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MCCSBundleCell.h"

NS_ASSUME_NONNULL_BEGIN

@interface MultilineTextInputCell : MCCSBundleCell
@property (strong, nonatomic) NSString* content;
@property(assign, nonatomic) NSInteger charLimit;
@property (strong, nonatomic) NSString* placeholder;

@property (weak, nonatomic) IBOutlet UITextView *textView;
@property (weak, nonatomic) IBOutlet UILabel *lbTitle;
@property (weak, nonatomic) IBOutlet UILabel *lbStatistics;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *textViewTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *textViewLeading;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *textViewTrailing;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *textViewBottom;

@property (strong, nonatomic)UIFont* textFont;
@property (strong, nonatomic) UIFont* placeholderFont;
@property (strong, nonatomic) UIColor* textColor;
@property (strong, nonatomic) UIColor* placeholderColor;
@property (strong, nonatomic) UIColor* textViewColor;
@property (weak, nonatomic) IBOutlet UILabel *lbEmptyPlaceholder;

@property (strong, nonatomic) void(^endEditingBlock)(NSString* x);

-(void)showRoundCorner;
@end

NS_ASSUME_NONNULL_END
